package com.ydc.ln.commons.utils;

import java.util.List;

public class QueryResult<T> {
	private int recordCount;
	private List<T> recordList;

	public QueryResult(int recordCount, List<T> recordList) {
		this.recordCount = recordCount;
		this.recordList = recordList;
	}

	public int getRecordCount() {
		return recordCount;
	}

	public void setRecordCount(int recordCount) {
		this.recordCount = recordCount;
	}

	public List<T> getRecordList() {
		return recordList;
	}

	public void setRecordList(List<T> recordList) {
		this.recordList = recordList;
	}

}
